#include<stdio.h>
#include<iostream>
#include<stdlib.h>
#include<unistd.h>

int main()
{
    printf("当前进程的开始代码!\n");
    
    //execl("/usr/bin/ls","ls",NULL);
    execl("/usr/bin/ls","ls","--color=auto","-l",NULL);
    exit(1);
    //execl("/usr/bin/ls","ls","-l","-a","-i",NULL);
    //execl("/usr/bin/top","top",NULL);
    
    printf("当前进程的结束代码!\n");
    
    return 0;
}
